﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZJF.EnumTest
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Test1();
            Console.Read();
        }

        static void Test1() {
            Gender gender = Gender.Femela;
            Console.WriteLine(gender);
            Console.WriteLine((int)gender);
            gender = Gender.Mela;
            Console.WriteLine(gender);

        }
    }

    public enum Gender{
        Mela = 1,
        Femela = 0
    }

    public enum Week { 
        Sun,
        Sat,
        Fri,
        Sur,
        Wed,
        Thu,
        Mon
    }
}
